//
//  BGDBConfiguration.m
//  BTDatabaseAccesser
//
//  Created by XMac on 2018/4/23.
//  Copyright © 2018年 XMac. All rights reserved.
//

#import "BGDBConfiguration.h"
#import <FMDB/FMDB.h>
@implementation BGDBConfiguration

- (NSString *)path{
    if (!_path) {
        _path = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject] stringByAppendingPathComponent:@"bg_data.db"];
    }
    return _path;
}

- (void)onConfigure:(FMDatabase *)database {
    
}

- (void)onCreate:(FMDatabase *)database {
    
}

- (void)onDowngrade:(FMDatabase *)database oldVersion:(NSInteger)oldVersion newVersion:(NSInteger)newVersion {
    
}

- (void)onOpen:(FMDatabase *)database {
    
}

- (void)onUpgrade:(FMDatabase *)database oldVersion:(NSInteger)oldVersion newVersion:(NSInteger)newVersion {
    
}

@end
